/**
 * Created by Administrator on 2017/10/24.
 */
;(function ($,window,undefined) {
    var $leftTreeArrow = $("#left-tree-arrow");
    var $leftTree = $("#left-tree");
    var $bottomArrow = $("#bottom-arrow");
    var $treeview =$("#treeview");
    var $searchIcon =$("#search-icon");
    var $headTab = $("#head-Tab");
    var $bottomBoxArrow = $("#bottom-box-arrow");
    var $bottomBox = $("#bottom-box");
    var $bottomTopArrow = $("#bottom-top-arrow");

    $leftTreeArrow.off("click").on("click",function () {
        $(this).fadeOut(300);
        $leftTree.fadeIn(300,function () {
            $treeview.show();
        });
    });
    $bottomArrow.off("click").on("click",function () {
        $treeview.hide();
        $leftTree.fadeOut(300);
        $leftTreeArrow.fadeIn(300)
    });
    $searchIcon.off("click").on("click",function () {

    });
    $headTab.off("click").on("click","li",function () {
        var _tabCode = $(this).attr("tabCode");
       // _this._searchByTabCode(_tabCode);
    });
    $bottomBoxArrow.off("click").on("click",function () {
        $(this).hide();
        $bottomBox.slideDown(600);
    });
    $bottomTopArrow.off("click").on("click",function () {
        $bottomBox.slideUp(600,function () {
            $bottomBoxArrow.fadeIn(300);
        });
    });
})(jQuery,Window,undefined);